package com.qike.duola.vo;

import com.qike.duola.config.BaseObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: Eric.zhou
 * @Date: 2020/9/15 15:26
 */
@ApiModel("生产线排队模型")
public class LineListVo extends BaseObject {
    @ApiModelProperty("生产线id")
    private Integer id;
    @ApiModelProperty("生产线名称")
    private String lineName;
    @ApiModelProperty("排队车辆")
    private List<LineCarVo> list;

    public List<LineCarVo> getList() {
        return list;
    }

    public void setList(List<LineCarVo> list) {
        if (list==null){
            this.list = new ArrayList<>();
        }else {
            this.list = list;
        }

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
}
